//
//  ZQQAudioDownLoader.h
//  播放器
//
//  Created by MoDao-iOS on 2017/7/19.
//  Copyright © 2017年 MoDao-iOS. All rights reserved.
//

#import <Foundation/Foundation.h>

#define kRemotePlayerDownLoadedCompleted @"kRemotePlayerDownLoadedCompleted"

@protocol ZQQAudioDownLoaderDelegate <NSObject>

- (void)downLoading;

@end

@interface ZQQAudioDownLoader : NSObject

@property (nonatomic, weak) id <ZQQAudioDownLoaderDelegate> delegate;

@property (nonatomic, assign) long long totalSize;
@property (nonatomic, assign) long long loadedSize;
@property (nonatomic, assign) long long offset;
@property (nonatomic, strong) NSString *mimeType;

- (void)downLoadWithURL:(NSURL *)url offset:(long long)offset;
@end
